package org.tarena.dang.dao;

import java.sql.SQLException;
import java.util.List;

import org.tarena.dang.entity.Book;
import org.tarena.dang.entity.Categrory;

public interface CateGoryDAO {
	public List<Categrory> findAll() throws SQLException;

	public List<Categrory> findByParetId(int parentId) throws SQLException;

	public String findByParetIdClass(int parentId) throws SQLException;

	public List<Categrory> searchByKeyWords(String keyWords)throws SQLException;

}
